package com.bcu.calculus.service;

import com.bcu.calculus.entity.Message;
import com.bcu.calculus.entity.Slist;

import java.util.List;

public interface SlistService {


    Message<?> addSlist(Slist slist);

    Message<?> delSlist(String slistId);

    Message<?> updateSlist(Slist slist);

    Message<Slist> selectOneSlistById(String slistId);

    Message<List<Slist>> selectAllSlist();

    Message<List<Slist>> getSlistByFlistId(String flistId);

    Message<List<Slist>> getSlistByuserType(String userType);

    Message<Slist> getSlistByTlistId(String tlistId);
}
